.class Lcom/netease/newsreader/activity/NewsReader$50;
.super Ljava/lang/Object;
.source "NewsReader.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/netease/newsreader/activity/NewsReader;->updateWeather(Ljava/lang/String;Ljava/lang/String;Z)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/activity/NewsReader;

.field private final synthetic val$city:Ljava/lang/String;

.field private final synthetic val$forceUpdate:Z

.field private final synthetic val$province:Ljava/lang/String;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/activity/NewsReader;Ljava/lang/String;Ljava/lang/String;Z)V
    .locals 0
    .parameter
    .parameter
    .parameter
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/activity/NewsReader$50;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    iput-object p2, p0, Lcom/netease/newsreader/activity/NewsReader$50;->val$province:Ljava/lang/String;

    iput-object p3, p0, Lcom/netease/newsreader/activity/NewsReader$50;->val$city:Ljava/lang/String;

    iput-boolean p4, p0, Lcom/netease/newsreader/activity/NewsReader$50;->val$forceUpdate:Z

    .line 5010
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 6

    .prologue
    .line 5013
    iget-object v2, p0, Lcom/netease/newsreader/activity/NewsReader$50;->val$province:Ljava/lang/String;

    iget-object v3, p0, Lcom/netease/newsreader/activity/NewsReader$50;->val$city:Ljava/lang/String;

    iget-boolean v4, p0, Lcom/netease/newsreader/activity/NewsReader$50;->val$forceUpdate:Z

    .line 5014
    iget-object v5, p0, Lcom/netease/newsreader/activity/NewsReader$50;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    .line 5013
    invoke-static {v2, v3, v4, v5}, Lcom/netease/newsreader/model/Weather;->getWeatherList(Ljava/lang/String;Ljava/lang/String;ZLandroid/content/Context;)Ljava/util/List;

    move-result-object v0

    .line 5015
    .local v0, list:Ljava/util/List;,"Ljava/util/List<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;"
    iget-object v2, p0, Lcom/netease/newsreader/activity/NewsReader$50;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v2}, Lcom/netease/newsreader/activity/NewsReader;->access$23(Lcom/netease/newsreader/activity/NewsReader;)Landroid/os/Handler;

    move-result-object v2

    const/16 v3, 0x64

    invoke-virtual {v2, v3}, Landroid/os/Handler;->obtainMessage(I)Landroid/os/Message;

    move-result-object v1

    .line 5016
    .local v1, msg:Landroid/os/Message;
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v2

    if-nez v2, :cond_0

    const/4 v2, 0x0

    :goto_0
    iput-object v2, v1, Landroid/os/Message;->obj:Ljava/lang/Object;

    .line 5017
    iget-object v2, p0, Lcom/netease/newsreader/activity/NewsReader$50;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v2}, Lcom/netease/newsreader/activity/NewsReader;->access$23(Lcom/netease/newsreader/activity/NewsReader;)Landroid/os/Handler;

    move-result-object v2

    invoke-virtual {v2, v1}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    .line 5018
    return-void

    .line 5016
    :cond_0
    const/4 v2, 0x0

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    goto :goto_0
.end method
